﻿using System;

namespace MapleLeaf.IdentityServer.Models {
    /// <summary>
    /// 
    /// </summary>
    public class MLUserModel {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { set; get; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { set; get; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { set; get; }

        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName { set; get; }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string Password { set; get; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { set; get; } = 0;
        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { set; get; }
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? Birth { set; get; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Addr { set; get; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsDelete { set; get; } = false;
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { set; get; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { set; get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { set; get; }
        /// <summary>
        /// 最近更新人
        /// </summary>
        public string Modifier { set; get; }
        /// <summary>
        /// 最近更新时间
        /// </summary>
        public DateTime? ModifyTime { set; get; }

    }
}
